com.supermap.armap.armapping

Interface ARElementTouchListener



  • public interface ARElementTouchListener
    AR Scene Element Touch Event Listening Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void onSelect(ARElementPOI element, int touchType)
      Element selected event callback
      void onSelect(ARElementPOI element, int touchType, int childIndex)
      Element selected event callback
      void onTouch(ARElement element, int touchType, int childIndex)
      Element touch event callbacks
    • Method Detail

      • onTouch

        void onTouch(ARElement element,
                     int touchType,
                     int childIndex)
        Element touch event callbacks
        Parameters:
        element - touch the AR object at the event
        touchType - see com.supermap.armap.data.ARElementTouchType
        childIndex - child nodes are in the node list order of the parent node, with -1 being the root node
      • onSelect

        void onSelect(ARElementPOI element,
                      int touchType)
        Element selected event callback
        Parameters:
        element - to select the AR object
        touchType - see com.supermap.armap.data.ARElementTouchType
      • onSelect

        void onSelect(ARElementPOI element,
                      int touchType,
                      int childIndex)
        Element selected event callback
        Parameters:
        element - to select the AR object
        touchType - see com.supermap.armap.data.ARElementTouchType
        childIndex - child nodes are in the node list order of the parent node, with -1 being the root node